package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereCalculateSettlement;
import org.linlinjava.litemall.db.domain.LumiereCalculateSettlementExample;

public interface LumiereCalculateSettlementMapper extends MPJBaseMapper<LumiereCalculateSettlement> {
    long countByExample(LumiereCalculateSettlementExample example);

    int deleteByExample(LumiereCalculateSettlementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereCalculateSettlement record);

    int insertSelective(LumiereCalculateSettlement record);

    LumiereCalculateSettlement selectOneByExample(LumiereCalculateSettlementExample example);

    LumiereCalculateSettlement selectOneByExampleSelective(@Param("example") LumiereCalculateSettlementExample example, @Param("selective") LumiereCalculateSettlement.Column ... selective);

    List<LumiereCalculateSettlement> selectByExampleSelective(@Param("example") LumiereCalculateSettlementExample example, @Param("selective") LumiereCalculateSettlement.Column ... selective);

    List<LumiereCalculateSettlement> selectByExample(LumiereCalculateSettlementExample example);

    LumiereCalculateSettlement selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereCalculateSettlement.Column ... selective);

    LumiereCalculateSettlement selectByPrimaryKey(Integer id);

    LumiereCalculateSettlement selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereCalculateSettlement record, @Param("example") LumiereCalculateSettlementExample example);

    int updateByExample(@Param("record") LumiereCalculateSettlement record, @Param("example") LumiereCalculateSettlementExample example);

    int updateByPrimaryKeySelective(LumiereCalculateSettlement record);

    int updateByPrimaryKey(LumiereCalculateSettlement record);

    int logicalDeleteByExample(@Param("example") LumiereCalculateSettlementExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}
